package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *
 * @author ShouPeng
 * @since 2023-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mall_category")
@NoArgsConstructor
@AllArgsConstructor
public class Category implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String categoryId;

//    @ApiModelProperty(value = "共三层结构")
    private Integer categoryLevel;

    private String parentId;

    private String categoryName;

    private Integer categorySort;

    private Boolean isDelete;

    private String categoryCreateTime;


}
